package com.edu.ujn.myh.domain;

// default package

import java.util.HashSet;
import java.util.Set;

/**
 * UserInfo entity. @author MyEclipse Persistence Tools
 */

public class UserInfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private String userName;
	private String passWord;
	private String mail;
	private String remark;
	private Integer roleId;
	private Set articleInfos = new HashSet(0);
	private Set userRoleInfos = new HashSet(0);
	private Set userRoleInfos_1 = new HashSet(0);

	// Constructors

	/** default constructor */
	public UserInfo() {
	}

	/** minimal constructor */
	public UserInfo(String userName, String passWord, Integer roleId) {
		this.userName = userName;
		this.passWord = passWord;
		this.roleId = roleId;
	}

	/** full constructor */
	public UserInfo(String userName, String passWord, String mail,
			String remark, Integer roleId, Set articleInfos, Set userRoleInfos,
			Set userRoleInfos_1) {
		this.userName = userName;
		this.passWord = passWord;
		this.mail = mail;
		this.remark = remark;
		this.roleId = roleId;
		this.articleInfos = articleInfos;
		this.userRoleInfos = userRoleInfos;
		this.userRoleInfos_1 = userRoleInfos_1;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassWord() {
		return this.passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public String getMail() {
		return this.mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getRoleId() {
		return this.roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public Set getArticleInfos() {
		return this.articleInfos;
	}

	public void setArticleInfos(Set articleInfos) {
		this.articleInfos = articleInfos;
	}

	public Set getUserRoleInfos() {
		return this.userRoleInfos;
	}

	public void setUserRoleInfos(Set userRoleInfos) {
		this.userRoleInfos = userRoleInfos;
	}

	public Set getUserRoleInfos_1() {
		return this.userRoleInfos_1;
	}

	public void setUserRoleInfos_1(Set userRoleInfos_1) {
		this.userRoleInfos_1 = userRoleInfos_1;
	}

}